Skip to content

fix(deps): move bundled deps to devDependencies - #1908

Merged
firecow merged 1 commit into
masterfrom
fix/move-bundled-deps-to-dev
Jul 31, 2026
Merged

fix(deps): move bundled deps to devDependencies#1908
firecow merged 1 commit into
masterfrom
fix/move-bundled-deps-to-dev

Conversation

@firecow

@firecow firecow commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Everything is bundled into dist/index.js, the only published file, so the 23 runtime dependencies were installed for npm users but never loaded, taking an install from 112 packages and 20 MB down to 1 package and 4.7 MB.


Summary by cubic

Moved all bundled runtime dependencies to devDependencies so npm users don’t install unused packages. This drops install size from ~112 packages/20 MB to 1 package/4.7 MB, with no runtime changes since everything is shipped in dist/index.js.

  • Dependencies
    • Shifted 23 packages from dependencies to devDependencies.
    • Updated lockfile; patched fast-uri to 3.1.5.

Written for commit 52b927d. Summary will update on new commits.

Review in cubic

Everything is bundled into dist/index.js, which is the only published file,
so the runtime deps were installed for npm users but never loaded.
@firecow firecow self-assigned this Jul 31, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Re-trigger cubic

@sonarqubecloud

Copy link
Copy Markdown

@firecow
firecow merged commit 4c365da into master Jul 31, 2026
16 checks passed
@firecow
firecow deleted the fix/move-bundled-deps-to-dev branch July 31, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant